<?php if($this->is_logged) { ?>
<div class="information">Vous êtes connecté</div>
<? } else { ?>

<form action="<?php echo $this->url(array('controller' => 'authenticate', 'action' => 'index'), null, true); ?>" method="post">
	<label for="login">Login * :</label>
	<br />
	<input type="text" id="login" name="login" value="<?php echo $this->login; ?>" />
	<br />
	<br />
	<label for="password">Mot de passe * :</label>
	<br />
	<input type="password" id="password" name="password" value="" />
	<br />
	<br />
	<input type="submit" name="login_send" value="Connexion" />
	
	<?php if(isset($this->error)) { ?>
		<div class="error"><?php echo $this->error; ?></div>
	<?php } ?>
</form>

<?php } ?>
